import * as THREE from "../../../../../modules/three/three.module.js";

export default class HitTestPlane extends THREE.Mesh {
  // 射线碰撞平面
  constructor(color = '#19ad15') {
    super(
      new THREE.PlaneGeometry(100000, 100000, 2, 2),
      new THREE.MeshBasicMaterial({
        visible: false,
        wireframe: true,
        side: THREE.DoubleSide,
        transparent: true,
        opacity: 1.0,
        color: color,
        toneMapped: false,
      }),
    );
  }
}
